package itheima.com.zuoye.d04;

public class Frog  extends  Animal implements Swim{
//    吃饭(吃虫子)和 游泳(蛙泳
    public void eat()
    {
        System.out.println("吃虫子");
    }

    @Override
    public void swim() {
        System.out.println("蛙泳");
    }
}
